import 'package:json_annotation/json_annotation.dart';

part 'Protocol.g.dart';

/// @Author lixiaobin
/// @Date 2024/8/28
/// @Description
@JsonSerializable(explicitToJson: true)
class Protocol {
  /// 编码
  int? id;

  /// 协议名称
  String? agreementName;

  /// 协议版本号
  String? agreementVersion;

  /// 协议类型名称
  String? agreementTypeName;

  /// 协议h5地址
  String? agreementUrl;

  /// 协议来源
  String? agreementSource;

  /// 系统类型
  String? systemType;

  static Protocol fromJson(Map<String, dynamic> srcJson) =>
      _$ProtocolFromJson(srcJson);

  Map<String, dynamic> toJson() => _$ProtocolToJson(this);
}
